<?php
require("../../class/connect.php");
require("../../class/q_functions.php");
require("../../class/db_sql.php");
require("../../class/user.php");
$link=db_connect();
$empire=new mysqlquery();
$editor=1;

$user=islogin();
$r=ReturnUserInfo($user[userid]);
$addr=$empire->fetch1("select * from {$dbtbpre}enewsmemberadd where userid='$user[userid]' limit 1");
$formid=GetMemberFormId($user[groupid]);
$formfile='../../data/html/memberform'.$formid.'.php';
	@session_start();
	$member_r=$_SESSION['arrHead'];
	//$arr=preg_match_all("|[\s]*`userpic`[\s]*='([a-zA-Z0-9\/\\\.-]{1,500})'|",$member_r[0],$out);
	//$editURl=$out[1][0];
	//var_dump($member_r);
	$editURl=$_SESSION['arrHead']['url'].".__tmp__.jpg";	
//导入模板
//echo __LINE__;

//echo ECMS_PATH.'e/template/member/edithead.php';
//exit();
require(ECMS_PATH.'e/template/member/edithead.php');
db_close();
$empire=null;
?>